﻿using System;
using System.ComponentModel.DataAnnotations;
using Data.AggregateRoot;

namespace Data.Entities
{
    /// <summary>
    /// 人员所属组织
    /// </summary>
    public class SysUserOrg : EntityBase
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Required]
        public Guid UserId { get; set; }

        /// <summary>
        /// 组织Id
        /// </summary>
        [Required]
        public Guid OrganizationId { get; set; }
    }
}